package com.ruoyi.app.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.app.domain.ShopInfo;
import com.ruoyi.app.domain.vo.ShopInfoVo;

/**
 * 店铺信息Service接口
 * 
 * @author ruoyi
 * @date 2023-12-21
 */
public interface IShopInfoService extends IService<ShopInfo>
{
    /**
     * 查询店铺信息
     * 
     * @param id 店铺信息主键
     * @return 店铺信息
     */
    public ShopInfo selectShopInfoById(String id);

    /**
     * 查询店铺信息列表
     * 
     * @param shopInfo 店铺信息
     * @return 店铺信息集合
     */
    public List<ShopInfo> selectShopInfoList(ShopInfo shopInfo);

    /**
     * 创建店铺
     * @param shopInfoVo
     */
    Boolean createShopInfo(ShopInfoVo shopInfoVo);

    /**
     * 查询店铺信息
     *
     * @param shopId 店铺信息主键
     * @return 店铺信息
     */
    ShopInfoVo getShopInfoByUserIdAndShopId(String userId, String shopId);

    /**
     * 本月统计
     *
     * @param shopInfoVo
     * @return
     */
    ShopInfoVo currentMonthStatistics(ShopInfoVo shopInfoVo);

    /**
     * 更新店铺信息
     * @param shopInfoVo
     */
    Boolean updateShopInfo(ShopInfoVo shopInfoVo);
}
